<ion-modal-view  ng-controller="zhuceController">
    <ion-header-bar>
        <button ng-click="FanHui()">返回</button>
        <h1 class="title">用户注册</h1>
    </ion-header-bar>
    <ion-content>
        <div class="list list-inset">
            <form name="registForm">
                <label class="item item-input">
                    <input type="text" ng-model="user.name" 
                    placeholder="请输入6-12位数字/字母/下划线组成的用户名" 
                    ng-blur="nameBlur()"
                    autofocus 
                    required>
                </label>
                <p></p>
                <label class="item item-input">
                    <input type="password" ng-model="user.psw" 
                    placeholder="请输入6-12位密码" 
                    ng-blur="pswBlur()"
                    required>
                </label>
                <p></p>
                <label class="item item-input">
                    <input type="password" ng-model="user.repsw" 
                    placeholder="请确认密码" 
                    ng-blur="rePswBlur()"
                    required>
                </label>
                <p></p>
                <label class="item item-input">
                    <input type="number" ng-model="user.tel" 
                    placeholder="请输入您的手机号"
                    ng-blur="telBlur()"
                    required>
                </label>
                <p></p>
                <br>
                <button class="button button-block button-balanced"
                    ng-click="zhuceCtrlData()"
                >注册</button>
              
            </form>
        </div>
        <div class="padding-horizontal">
            <button class="button button-block button-balanced"
                    ng-click="loginIn()"
            >有账号？请登录</button>
        </div>
    </ion-content>
</ion-modal-view>
